//
// Created by tanzx on 2023/12/8.
//

#ifndef UNTITLED_POINT_H
#define UNTITLED_POINT_H


class Point {
public:
    Point(int x = 0, int y = 0) : m_x(x), m_y(y) {}

    int getX() {
        return m_x;
    }

    int getY() {
        return m_y;
    }

    void setX(int x) {
        m_x = x;
    }

    void setY(int y) {
        m_y = y;
    }

private:
    int m_x, m_y;
};
void test_point();
void test_copy_point();


#endif //UNTITLED_POINT_H
